<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<div class='span8' style='height: 500px;border:1px solid #ddd;margin-left:0px;'>

	<div class="panel">
		<div class="panel-heading word tou">
			<strong>最新通知</strong>
		</div>
		<c:if test="${not empty  pnewses}">
			<div class="">

				<table class="table table-hover">
					<c:forEach items="${pnewses }" var="i">
						<tr>
							<td class='title'><div class='yanzhao-text'>
									<a href='<%=basePath %>nb/detail/${i.id }' title="${i.title }">${i.title}</a>
								</div></td>


							<td style=''>${i.publishDate }</td>
						</tr>
					</c:forEach>

				</table>
				<div id="" class="span12"
					style='margin-left: 40%; margin-top: 10px;'>

					<p>
						<a href='<%=basePath%>zsjy/yz_1 '>【首 页】</a> <a
							href='<%=basePath%>zsjy/yz_${pagenow-1 } ' id="first">【上一页】</a> <a
							class="pagenow"> <strong style='color: red; font-size: 16px;'>${pagenow}</strong></a>...
						<a href='<%=basePath%>zsjy/yz_${pagecount }'>${pagecount }</a> <a
							href='<%=basePath%>zsjy/yz_${pagenow+1 } ' id="next">【下一页】</a> <a
							href='<%=basePath%>zsjy/yz_${pagecount } '>【末 页】</a>
					</p>
					<script type="text/javascript">
	   $(function(){
		   var page = ${pagenow};
		   
		   var pagecount = ${pagecount};
		 
		   if(parseFloat(page)+1 >parseFloat(pagecount))
			   {
			       $("#next").hide();
			   }
		   if(parseFloat(page)-1 <1)
			   {
			     $("#first").hide();
			   }else{
				   $("#first").show();
			   };
			  
	   });
	</script>
				</div>
			</div>
		</c:if>
		<c:if test="${empty  pnewses}">
			<div style='height: 200px;'>
				<p style='color: #990000;'>暂时没有信息！</p>
			</div>
		</c:if>
	</div>
</div>

<div class="span4"  style='height:40%;'>
      <div class="panel"> 
         <div class="panel-heading word tou"><strong>复试线</strong></div>
            <div style="border:2px;align:center;height:250px;">
      	     
    		<div style="border:2px;align:center;height:40%;">
    		<table class="table table-hover"  >
				<tr><td>2013</td>
				<td>2012</td>
				<td>2011</td></tr>
				</table>
    	   </div>
       </div>
       </div>
   </div>
     
    
